package jpa.entitys.promis.construction;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;

import jpa.entitys.common.CommonEntity;


/**
 * The persistent class for the VARIATION_ORDER database table.
 * 
 */
@Entity
@Table(name="VARIATION_ORDER")
@NamedQueries({
    @NamedQuery(name = "VariationOrder.findAll", query = " SELECT c FROM VariationOrder c "),
    @NamedQuery(name = "VariationOrder.findById", query = " SELECT c FROM VariationOrder c WHERE c.id = :Id ")
})
public class VariationOrder extends CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private VariationOrderPK id;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}

	@Column(name="BUILDING_PHASE")
	private String buildingPhase;

	@Column(name="CONTACT_PERSON")
	private String contactPerson;

	@Column(name="CONTRACT_NO")
	private BigDecimal contractNo;

	@Column(name="CONTRACT_SERIES")
	private String contractSeries;

	@Column(name="CONTRACT_TYPE")
	private String contractType;

	@Column(name="CREATED_BY")
	private String createdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="CREATED_ON")
	private Date createdOn;

	private String currency;

	private String description;

	@Column(name="EXCHANGE_RATE")
	private BigDecimal exchangeRate;

	@Column(name="FEE_AMOUNT_FC")
	private BigDecimal feeAmountFc;

	@Column(name="FEE_AMOUNT_LC")
	private BigDecimal feeAmountLc;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="LINK_FILE_ID")
	private BigDecimal linkFileId;

	@Column(name="NET_VO_AMOUNT_FC")
	private BigDecimal netVoAmountFc;

	@Column(name="NET_VO_AMOUNT_LC")
	private BigDecimal netVoAmountLc;

	private String remarks;

	@Column(name="REQUESTED_BY")
	private String requestedBy;

	private BigDecimal revision;

	private BigDecimal seq;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SI_REFERENCE_DATE")
	private Date siReferenceDate;

	@Column(name="SI_REFERENCE_NO")
	private String siReferenceNo;

	private String status;

	@Column(name="SUPPLIER_CODE")
	private String supplierCode;

	@Column(name="SYNC_CREATEDBY")
	private String syncCreatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_CREATEDON")
	private Date syncCreatedon;

	@Column(name="SYNC_EXTERNAL_REF_KEY")
	private String syncExternalRefKey;

	@Column(name="SYNC_EXTERNAL_REF_NO")
	private String syncExternalRefNo;

	@Column(name="SYNC_ISSTAGING")
	private String syncIsstaging;

	@Column(name="SYNC_ISSYNC")
	private String syncIssync;

	@Column(name="SYNC_PK_ID")
	private String syncPkId;

	@Column(name="SYNC_UPDATEDBY")
	private String syncUpdatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_UPDATEDON")
	private Date syncUpdatedon;

	@Column(name="TAX_PERCENT")
	private BigDecimal taxPercent;

	@Column(name="TAX_TYPE")
	private String taxType;

	@Column(name="TYPE_OF_VARIATION")
	private String typeOfVariation;

	@Column(name="UNIT_NUMBER")
	private String unitNumber;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="VARIATION_DATE")
	private Date variationDate;

	@Column(name="VARIATION_NO")
	private BigDecimal variationNo;

	@Column(name="VARIATION_SERIES")
	private String variationSeries;

	@Column(name="VARIATION_TYPE")
	private String variationType;

	@Column(name="VAT_AMOUNT_FC")
	private BigDecimal vatAmountFc;

	@Column(name="VAT_AMOUNT_LC")
	private BigDecimal vatAmountLc;

	@Column(name="VO_AMOUNT_FC")
	private BigDecimal voAmountFc;

	@Column(name="VO_AMOUNT_LC")
	private BigDecimal voAmountLc;

	@Column(name="ZONE_CODE")
	private String zoneCode;

    public VariationOrder() {
    }
    
    @Column(name="IS_INTERFACE")
	private String isInterface;

	public String getIsInterface() {
		return isInterface;
	}

	public void setIsInterface(String isInterface) {
		this.isInterface = isInterface;
	}

	public VariationOrderPK getId() {
		return this.id;
	}

	public void setId(VariationOrderPK id) {
		this.id = id;
	}
	
	public String getBuildingPhase() {
		return this.buildingPhase;
	}

	public void setBuildingPhase(String buildingPhase) {
		this.buildingPhase = buildingPhase;
	}

	public String getContactPerson() {
		return this.contactPerson;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public BigDecimal getContractNo() {
		return this.contractNo;
	}

	public void setContractNo(BigDecimal contractNo) {
		this.contractNo = contractNo;
	}

	public String getContractSeries() {
		return this.contractSeries;
	}

	public void setContractSeries(String contractSeries) {
		this.contractSeries = contractSeries;
	}

	public String getContractType() {
		return this.contractType;
	}

	public void setContractType(String contractType) {
		this.contractType = contractType;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getExchangeRate() {
		return this.exchangeRate;
	}

	public void setExchangeRate(BigDecimal exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public BigDecimal getFeeAmountFc() {
		return this.feeAmountFc;
	}

	public void setFeeAmountFc(BigDecimal feeAmountFc) {
		this.feeAmountFc = feeAmountFc;
	}

	public BigDecimal getFeeAmountLc() {
		return this.feeAmountLc;
	}

	public void setFeeAmountLc(BigDecimal feeAmountLc) {
		this.feeAmountLc = feeAmountLc;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public BigDecimal getLinkFileId() {
		return this.linkFileId;
	}

	public void setLinkFileId(BigDecimal linkFileId) {
		this.linkFileId = linkFileId;
	}

	public BigDecimal getNetVoAmountFc() {
		return this.netVoAmountFc;
	}

	public void setNetVoAmountFc(BigDecimal netVoAmountFc) {
		this.netVoAmountFc = netVoAmountFc;
	}

	public BigDecimal getNetVoAmountLc() {
		return this.netVoAmountLc;
	}

	public void setNetVoAmountLc(BigDecimal netVoAmountLc) {
		this.netVoAmountLc = netVoAmountLc;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getRequestedBy() {
		return this.requestedBy;
	}

	public void setRequestedBy(String requestedBy) {
		this.requestedBy = requestedBy;
	}

	public BigDecimal getRevision() {
		return this.revision;
	}

	public void setRevision(BigDecimal revision) {
		this.revision = revision;
	}

	public BigDecimal getSeq() {
		return this.seq;
	}

	public void setSeq(BigDecimal seq) {
		this.seq = seq;
	}

	public Date getSiReferenceDate() {
		return this.siReferenceDate;
	}

	public void setSiReferenceDate(Date siReferenceDate) {
		this.siReferenceDate = siReferenceDate;
	}

	public String getSiReferenceNo() {
		return this.siReferenceNo;
	}

	public void setSiReferenceNo(String siReferenceNo) {
		this.siReferenceNo = siReferenceNo;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSupplierCode() {
		return this.supplierCode;
	}

	public void setSupplierCode(String supplierCode) {
		this.supplierCode = supplierCode;
	}

	public String getSyncCreatedby() {
		return this.syncCreatedby;
	}

	public void setSyncCreatedby(String syncCreatedby) {
		this.syncCreatedby = syncCreatedby;
	}

	public Date getSyncCreatedon() {
		return this.syncCreatedon;
	}

	public void setSyncCreatedon(Date syncCreatedon) {
		this.syncCreatedon = syncCreatedon;
	}

	public String getSyncExternalRefKey() {
		return this.syncExternalRefKey;
	}

	public void setSyncExternalRefKey(String syncExternalRefKey) {
		this.syncExternalRefKey = syncExternalRefKey;
	}

	public String getSyncExternalRefNo() {
		return this.syncExternalRefNo;
	}

	public void setSyncExternalRefNo(String syncExternalRefNo) {
		this.syncExternalRefNo = syncExternalRefNo;
	}

	public String getSyncIsstaging() {
		return this.syncIsstaging;
	}

	public void setSyncIsstaging(String syncIsstaging) {
		this.syncIsstaging = syncIsstaging;
	}

	public String getSyncIssync() {
		return this.syncIssync;
	}

	public void setSyncIssync(String syncIssync) {
		this.syncIssync = syncIssync;
	}

	public String getSyncPkId() {
		return this.syncPkId;
	}

	public void setSyncPkId(String syncPkId) {
		this.syncPkId = syncPkId;
	}

	public String getSyncUpdatedby() {
		return this.syncUpdatedby;
	}

	public void setSyncUpdatedby(String syncUpdatedby) {
		this.syncUpdatedby = syncUpdatedby;
	}

	public Date getSyncUpdatedon() {
		return this.syncUpdatedon;
	}

	public void setSyncUpdatedon(Date syncUpdatedon) {
		this.syncUpdatedon = syncUpdatedon;
	}

	public BigDecimal getTaxPercent() {
		return this.taxPercent;
	}

	public void setTaxPercent(BigDecimal taxPercent) {
		this.taxPercent = taxPercent;
	}

	public String getTaxType() {
		return this.taxType;
	}

	public void setTaxType(String taxType) {
		this.taxType = taxType;
	}

	public String getTypeOfVariation() {
		return this.typeOfVariation;
	}

	public void setTypeOfVariation(String typeOfVariation) {
		this.typeOfVariation = typeOfVariation;
	}

	public String getUnitNumber() {
		return this.unitNumber;
	}

	public void setUnitNumber(String unitNumber) {
		this.unitNumber = unitNumber;
	}

	public Date getVariationDate() {
		return this.variationDate;
	}

	public void setVariationDate(Date variationDate) {
		this.variationDate = variationDate;
	}

	public BigDecimal getVariationNo() {
		return this.variationNo;
	}

	public void setVariationNo(BigDecimal variationNo) {
		this.variationNo = variationNo;
	}

	public String getVariationSeries() {
		return this.variationSeries;
	}

	public void setVariationSeries(String variationSeries) {
		this.variationSeries = variationSeries;
	}

	public String getVariationType() {
		return this.variationType;
	}

	public void setVariationType(String variationType) {
		this.variationType = variationType;
	}

	public BigDecimal getVatAmountFc() {
		return this.vatAmountFc;
	}

	public void setVatAmountFc(BigDecimal vatAmountFc) {
		this.vatAmountFc = vatAmountFc;
	}

	public BigDecimal getVatAmountLc() {
		return this.vatAmountLc;
	}

	public void setVatAmountLc(BigDecimal vatAmountLc) {
		this.vatAmountLc = vatAmountLc;
	}

	public BigDecimal getVoAmountFc() {
		return this.voAmountFc;
	}

	public void setVoAmountFc(BigDecimal voAmountFc) {
		this.voAmountFc = voAmountFc;
	}

	public BigDecimal getVoAmountLc() {
		return this.voAmountLc;
	}

	public void setVoAmountLc(BigDecimal voAmountLc) {
		this.voAmountLc = voAmountLc;
	}

	public String getZoneCode() {
		return this.zoneCode;
	}

	public void setZoneCode(String zoneCode) {
		this.zoneCode = zoneCode;
	}

}